//Here we have a class for some samp stuff to manage it easier

class SAMPBase
{
private:
	bool										multi;
	DWORD										dw_SAMPBaseAddress;
	struct stSAMP								*p_SAMP;
	struct stPlayerPool							*p_Players;
	struct stVehiclePool						*p_Vehicles;
	struct stTextdrawPool						*p_Textdraws;
	struct stChatInfo							*p_Chat;
	struct stInputInfo							*p_Input;
	struct stKillInfo							*p_DeathList;
	struct stStreamedOutPlayerInfo				p_stStreamedOutInfo;

	struct stTranslateGTASAMP_vehiclePool		translateGTASAMP_vehiclePool;
	struct stTranslateGTASAMP_pedPool			translateGTASAMP_pedPool;
	D3DCOLOR samp_color_get ( int id, DWORD trans = 0xFF000000 );
public:

	void Initialize();
	void AddToChatWindow(char* text,DWORD textColor,int playerID = -1);
	void SendCommandToServer(char* msg);


};